import { request } from "@/utils/http"

// 轮播图数据
export const getBannerData = (distributionSite) =>
  request.get("/home/banner", { distributionSite })

// 新鲜好物
export const getNewData = () => request.get("/home/new")

// 人气推荐
export const getHotData = () => request.get("/home/hot")

/**
 * @description: 获取所有商品模块
 * @param {*}
 * @return {*}
 */
export const getGoodsData = () => request.get("/home/goods")
